Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix occasional panic on registration #643

Merged
merged 2 commits into from
Jun 16, 2022

Conversation

iSchluff
Copy link
Contributor

@iSchluff iSchluff commented Jun 14, 2022

Introduced by random node suffix: GenerateRandomStringDNSSafe will panic occasionally if the random base64 string contains too many - and _ due to the replacement. Fix by looping.

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

@iSchluff iSchluff changed the title fix occasional dns name panic fix occasional panic on registration Jun 14, 2022
@iSchluff iSchluff changed the title fix occasional panic on registration Fix occasional panic on registration Jun 14, 2022
@iSchluff iSchluff force-pushed the fix/dns-name-panic branch 2 times, most recently from 9759a14 to f2d8cb2 Compare June 14, 2022 09:45
GenerateRandomStringDNSSafe will panic occasionally if the random base64
string contains too many - and _ due to the replacement. Fix by looping.
@iSchluff iSchluff force-pushed the fix/dns-name-panic branch from f2d8cb2 to 8f31ed5 Compare June 15, 2022 10:23
@kradalby kradalby merged commit 8dda441 into juanfont:main Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants